/**
 * 
 */
package com.bitBusy.manageyourriches.database.tables;

/**
 * Table holding payment info values
 * @author SumaHarsha
 *
 */
public enum PaymentInfo implements TableDefinition {

	METHODCOL("method", " TEXT PRIMARY KEY"),
	PICIDCOL("picID", " INTEGER");
	
	private String myName;
	private String myDatatype;
	
	/** Private constructor
	 * @param the_name name of column
	 * @param the_datatype of column
	 */
	private PaymentInfo(String the_name, String the_datatype)
	{
		myName = the_name;
		myDatatype = the_datatype;
	}
	/* (non-Javadoc)
	 * @see com.bitBusy.manageyourriches.database.tables.TableDefinition#getName()
	 */
	@Override
	public String getName() {
		return myName;
	}

	/* (non-Javadoc)
	 * @see com.bitBusy.manageyourriches.database.tables.TableDefinition#getType()
	 */
	@Override
	public String getType() {
		return myDatatype;
	}

}
